package com.youtills.resource;

import com.youtills.action.ActionContext;

/**
 * TODO - !!!doc me!!!
 *
 * @author ravi.chiluveru
 * @since 1.0 (5/22/14)
 */
public final class ResourceDao {

    public ResourceDao() {
    }

    public <T extends Resource> T getResource(final ActionContext context, final Class<T> clazz, final Long resourceId){
        return null;
    }

    public <T extends Resource> T getNewResource(final ActionContext context, final Class<T> clazz) {
        return null;
    }

    public <T extends Resource> boolean saveResource(final ActionContext context, final T resource){
        //return true if save success.
        return false;
    }

}
